package Lint;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.*;
import java.io.IOException;
import java.util.Date;

public class FirstServlet extends HttpServlet{

    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException{
        response.setContentType("text/thml;charset=utf-8");
        response.getWriter().write("Hello, first servlet<br>");
        response.getWriter().write("Date is:"+new Date());
        response.getWriter().write("Hello test" + new Date());
    }
}
